package chpt_05_02_bridge;

import beforeClass.bridge.SmallPen;

/**
 * @author Ping
 * @date 2023/4/6 8:49
 **/
public class NormalPenDemo {
}

/**
 * Old pen
 */
class OPen {

}

class OLargePen extends OPen {

}
class OSmallPen extends OPen {

}
/**
 * color
 */
class ORedLargePen extends OLargePen {

}
class ORedSmallPen extends OSmallPen {

}
// ..... more colors, more classes
// unacceptable .


